| Home | Trees | Index | Help |
|
|---|
| Package lemon :: Package external :: Package docutils :: Module nodes :: Class Text |
|
Node --+
|
UserString --+
|
Text
astext method.| Method Summary | |
|---|---|
__init__(self,
data,
rawsource)
| |
__len__(self)
| |
__repr__(self)
| |
astext(self)
| |
Return a copy of self. | |
Text nodes have no children. | |
Return an indented pseudo-XML representation, for test purposes. | |
shortrepr(self)
| |
_dom_node(self,
domroot)
| |
| Inherited from Node | |
Node instances are always true, even if they're empty. | |
Return a DOM fragment representation of this Node. | |
| |
Traverse a tree of Node objects, calling visit_... methods of
visitor when entering each node. | |
Perform a tree traversal similarly to Node.walk() (which see),
except also call depart_... methods before exiting each node. | |
| Inherited from UserString | |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| Class Variable Summary | |
|---|---|
str |
tagname = '#text'
|
| Inherited from Node | |
NoneType |
document = None |
NoneType |
line = None |
NoneType |
parent = None |
NoneType |
source = None |
| Method Details |
|---|
copy(self)Return a copy of self.
|
get_children(self)Text nodes have no children. Return []. |
pformat(self, indent=' ', level=0)Return an indented pseudo-XML representation, for test purposes.
|
| Class Variable Details |
|---|
tagname
|
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.0 on Mon Nov 10 15:08:25 2003 | http://epydoc.sf.net |